import axios from '@/api'

export function menus() {
  return axios.get('/sys/menus')
}
export function addMenu(data) {
  return axios.post('/sys/menu/add', data)
}
export function editMenu(data) {
  return axios.post('/sys/menu/update', data)
}
export function deleteMenu(data) {
  return axios.post('/sys/menu/del', data)
}
